<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改书籍</title>

    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>


<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>书籍列表——————新增书籍</small>
                </h1>
            </div>
        </div>
    </div>

    <form action="${pageContext.request.contextPath}/book/updateBook" method="post">
        <%--使用隐藏域解决id传递问题 --> 前端传递隐藏域--%>
        <input type="hidden" name="bookID" value="${QBook.bookID}">
        <div class="form-group">
            <label for="bkName">书籍名称: </label>
            <input type="text" name="bookName" class="form-control" value="${QBook.bookName}" id="bkName" required>
        </div>
        <div class="form-group">
            <label for="bkCount">书籍数量: </label>
            <input type="text" name="bookCounts" class="form-control" value="${QBook.bookCounts}" id="bkCount" required>
        </div>
        <div class="form-group">
            <label for="bkDetail">书籍描述: </label>
            <input type="text" name="detail" class="form-control" value="${QBook.detail}" id="bkDetail" required>
        </div>
        <div class="form-group">
            <input type="submit" class="from-control" value="修改">
        </div>
    </form>
</div>

</body>
</html>
